home *** CD-ROM | disk | FTP | other *** search
/ Macromedia Multimedia Showcase 5.1 / Macromedia - Multimedia Showcase 5.1 (Macromedia) (1996).ISO / pc / media / 58110.dir / 00225_Script_225 < prev    next >
Text File  |  1996-03-27  |  2KB  |  61 lines

  1.  
  2. on idle
  3.   if rollover (1) then
  4.     set the loch of sprite 1 to the loch of sprite 1 + random (5)
  5.     set the loch of sprite 1 to the loch of sprite 1 - random (5)
  6.     updatestage
  7.   end if
  8.   
  9.   if rollover (2) then
  10.     set the loch of sprite 2 to the loch of sprite 2 + random (5)
  11.     set the loch of sprite 2 to the loch of sprite 2 - random (5)
  12.     set the forecolor of sprite 9 to 11
  13.     updatestage
  14.   end if
  15.   
  16.   if rollover (3) then
  17.     set the loch of sprite 3 to the loch of sprite 3 + random (5)
  18.     set the loch of sprite 3 to the loch of sprite 3 - random (5)
  19.     set the forecolor of sprite 9 to 11
  20.     updatestage
  21.   end if
  22.   
  23.   if rollover (4) then
  24.     set the loch of sprite 4 to the loch of sprite 4 + random (5)
  25.     set the loch of sprite 4 to the loch of sprite 4 - random (5)
  26.     set the forecolor of sprite 9 to 11
  27.     updatestage
  28.   end if
  29.   
  30.   if rollover (5) then
  31.     set the loch of sprite 5 to the loch of sprite 5 + random (5)
  32.     set the loch of sprite 5 to the loch of sprite 5 - random (5)
  33.     updatestage
  34.   end if
  35.   
  36.   if rollover (6) then
  37.     set the loch of sprite 6 to the loch of sprite 6 + random (5)
  38.     set the loch of sprite 6 to the loch of sprite 6 - random (5)
  39.     updatestage
  40.   end if
  41.   
  42.   if rollover (7) then
  43.     set the loch of sprite 7 to the loch of sprite 7 + random (5)
  44.     set the loch of sprite 7 to the loch of sprite 7 - random (5)
  45.     updatestage
  46.   end if
  47.   
  48.   if rollover (8) then
  49.     set the loch of sprite 8 to the loch of sprite 8 + random (5)
  50.     set the loch of sprite 8 to the loch of sprite 8 - random (5)
  51.     updatestage
  52.   end if
  53.   
  54.   if rollover (9) then
  55.     set the loch of sprite 9 to the loch of sprite 9 + random (5)
  56.     set the loch of sprite 9 to the loch of sprite 9 - random (5)
  57.     set the forecolor of sprite 9 to 11
  58.     updatestage
  59.   end if
  60. end
  61.